Sets files to upload. Emulates a user's selection in the browser's 'Choose File' dialog. Target element must be an <input> with the type=file ...
... input elements that have an attribute whose // name matches the /data-/ regular expression. // This attribute must have a value that matches // the /in ...
The length of the input field content. speed, Number, The speed of action emulation. Defines how fast TestCafe performs the action when running tests. A number ...
#input matches the first element with the input ID. Selector Keywords. TestCafe Selector keywords are syntactically identical to CSS Selectors . Top Tip ...
The action can target input fields, textarea elements, and elements with the contenteditable attribute. The action target is subject to additional interaction ...
The following example demonstrates text selection in an input element. import ClientFunction, Selector } from 'testcafe'; fixture`TestController.selectText` .
Text Field-Based Inputs. TestCafe supports selection and navigation with keystrokes in the following input types: email; number; password; search; tel; text ...
Types a string into an input field, a textarea element, or an element with the contenteditable attribute. The method is chainable. t.typeText(selector, text [ ...